// cloudConfig.js - 云存储和云开发环境配置常量

/**
 * 云开发环境ID
 */
const CLOUD_ENV_ID = 'cloud1-5gnetyfx52192052';

/**
 * 云存储基础路径前缀
 * 格式: cloud://[环境ID].[环境ID]-[APPID后几位]/
 */
const CLOUD_STORAGE_BASE_PATH = `cloud://${CLOUD_ENV_ID}.636c-${CLOUD_ENV_ID}-1307367310/`;

/**
 * 词书存储路径前缀
 */
const WORD_BOOKS_PATH_PREFIX = `${CLOUD_STORAGE_BASE_PATH}wordBooks/`;

/**
 * 用户头像存储路径前缀
 */
const USER_AVATAR_PATH_PREFIX = `${CLOUD_STORAGE_BASE_PATH}avatar/`;

/**
 * 书籍封面URL前缀
 */
const BOOK_COVERS_PATH_PREFIX = `https://636c-${CLOUD_ENV_ID}-1307367310.tcb.qcloud.la/bookCovers/`;

module.exports = {
  CLOUD_ENV_ID,
  CLOUD_STORAGE_BASE_PATH,
  WORD_BOOKS_PATH_PREFIX,
  USER_AVATAR_PATH_PREFIX,
  BOOK_COVERS_PATH_PREFIX
};